package com.csdig.cms.common;

/**
 * 常量定义
 */
public class ConstantDefine {

	public static class AdminUrl {
		public static final String BASE = "/admin/cms";
		public static final String LOGIN = "/cms_admin/login.at";
		public static final String LOGOUT = "/cms_admin/logout.at";
	}

	public static class ResType {
		public static final String TEMPLATE = "tpl";// 模型
		public static final String RESOURCE = "rs";// 资源
	}

	public static class SessionAttr {
		public static final String REFER = "referer";
	}

	public static class FrontPage{
		// 模板文件后缀
		public static String TPL_SUFFIX = ".ftl";
		/**
		 * 模板路径
		 */
		public static final String TPL_BASE = "/WEB-INF/ftls";
		// 资源路径
		public static String ROOT_RES_DIR = "/r";
		
		public static String TPL_SOLUTION = "boot";
		
		public static final String DYNAMIC_EXTENTION = ".jhtml";
		
		public static final String STATIC_EXTENTION = ".html";
		
		public static final String INDEX = "index";
		
		public static final String GRAY_IMG = "/r/css/images/grey.gif";
	}
	
	/**
	 * 路径分隔符
	 */
	public static final String SPT = "/";

	
	

}
